package com.iemp.service.base;

import com.iemp.bean.IEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

public abstract class AbstractService<E extends IEntity> {
    
    protected Logger log = LoggerFactory.getLogger(this.getClass());

    public abstract Integer deleteById(Integer id);
    public abstract E selectById(Integer id);
    public abstract int insertSelective(E entity);
    public abstract int updateByIdSelective(E entity);

}
